GBML manual / Rooms

roam_stop

Makes this roamer an ordinary thing again: it belongs to the part of the world it is in, and goes when that part goes.

Syntax

roam_stop()

Returns

Nothing.

Description

Makes this roamer an ordinary instance again. It belongs to the part of the world it is in, and goes when that part of the world goes, like anything else placed there. Does nothing for a thing that is not a roamer.

Example

if (hp <= 0) {
    roam_stop();
}

A roamer that has been beaten stops roaming.

See also: roam_boundaryWhat a world remembers